/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package UI;

import java.io.Serializable;

/**
 *
 * @author Mathias
 */
public class InterestUI implements Serializable {
    private static final long serialVersionUID = 1L;
    
    private int id;
    private UserUI user;
    private String name;

    public InterestUI() {
    }

    public InterestUI(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public InterestUI(UserUI user, String name) {
        this.user = user;
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public UserUI getUser() {
        return user;
    }

    public void setUser(UserUI user) {
        this.user = user;
    }
    
    
    
    
    
}
